[loggers]
keys=root,main,srv,srvtcp,gen,comm,dataexport

[handlers]
keys=hand01,hand02,hand03,hand04,hand05,hand06

[formatters]
keys=form01,form02

[logger_root]
level=NOTSET
handlers=hand03

[logger_main]
level=DEBUG
handlers=hand01
qualname=lector.main
propagate=0

[logger_srv]
level=DEBUG
handlers=hand02
qualname=lector.srv
propagate=0

[logger_comm]
level=DEBUG
handlers=hand04
qualname=lector.comm
propagate=0

[logger_srvtcp]
level=INFO
handlers=hand05
qualname=lector.srvtcp
propagate=0

[logger_dataexport]
level=INFO
handlers=hand06
qualname=lector.dataexport
propagate=0

[logger_gen]
level=DEBUG
handlers=hand02
qualname=lector.gen
propagate=0


[handler_hand01]
class=handlers.RotatingFileHandler
level=DEBUG
formatter=form01
args=('log/lector.log', 'a', 2048576, 5)

[handler_hand02]
class=handlers.RotatingFileHandler
level=DEBUG
formatter=form01
args=('log/lectorSrv.log', 'a', 2048576, 15)

[handler_hand05]
class=handlers.RotatingFileHandler
level=DEBUG
formatter=form01
args=('log/lectorSrvTCP.log', 'a', 2048576, 15)

[handler_hand06]
class=handlers.RotatingFileHandler
level=DEBUG
formatter=form01
args=('log/dataExport.log', 'a', 2048576, 15)

[handler_hand04]
class=handlers.RotatingFileHandler
level=DEBUG
formatter=form02
args=('log/lectorComm.log', 'a', 2048576, 15)

[handler_hand03]
class=StreamHandler
level=DEBUG
formatter=form01
args=(sys.stdout,)

[formatter_form01]
format=%(asctime)s - %(module)s[%(thread)d] - %(levelname)s - %(message)s
datefmt=
class=logging.Formatter

[formatter_form02]
format=%(asctime)s - %(module)s - %(levelname)s - %(message)s
datefmt=
class=logging.Formatter
